Skip to content

feat: add creator list sort mapper#49

Merged
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
bamiebot-maker:feat/issue-33-creator-list-sort-mapper
Mar 27, 2026
Merged

feat: add creator list sort mapper#49
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
bamiebot-maker:feat/issue-33-creator-list-sort-mapper

Conversation

@bamiebot-maker
Copy link
Copy Markdown
Contributor

Summary

  • add a dedicated creator list sort mapper for translating allowed public sort values into internal query behavior
  • centralize allowed creator list sort options and sort orders in one reusable module
  • update creator list schema validation to use the shared sort constants
  • stop passing the public sort value directly into Prisma orderBy

Testing

  • corepack pnpm lint
  • corepack pnpm exec prettier --write src/modules/creators/creators.sort.ts src/modules/creators/creators.schemas.ts src/modules/creators/creators.utils.ts

Notes

  • corepack pnpm build is currently blocked by Prisma client generation/type availability in the repo environment, including existing errors in unrelated files outside this change
  • corepack pnpm generate hung locally instead of completing, so full build validation could not be completed here

Closes #33

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Mar 27, 2026

@bamiebot-maker Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093 Chucks1093 merged commit 2a54d0f into accesslayerorg:main Mar 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add creator list sort mapper

2 participants